package com.library.base.http.service;

import com.library.base.http.request.Repo;
import com.library.base.http.result.ApiResult;

import java.util.HashMap;
import java.util.List;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Path;

public interface BaseService {

    String BASE_URL = "https://api.github.com/";

    @GET("users/{user}/repos")
    Observable<List<Repo>> getRepos(@Path("user") String user);
}
